package cn.hh.util;

/**
 * @Author huangh
 * @date 2021/09/03
 * @Description:
 */
public class LoadTest {

    public static void main(String[] args) {
        String basePath2 = System.getProperty("user.dir");
        System.out.println(basePath2);
        /*System.out.println(LoadTest.class.getResource("ehcache.xml"));
        System.out.println(LoadTest.class.getResource("/ehcache.xml"));

        System.out.println();
        System.out.println(LoadTest.class.getClassLoader().getResource("ehcache.xml"));
        System.out.println(LoadTest.class.getClassLoader().getResource("/ehcache.xml"));*/

        System.out.println(LoadTest.class.getResource(""));
        System.out.println(LoadTest.class.getResource("/"));

        System.out.println();
        System.out.println(LoadTest.class.getClassLoader().getResource(""));
        System.out.println(LoadTest.class.getClassLoader().getResource("/"));
    }
}
